/* 主容器样式 */
.main-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 标题样式 */
.page-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.page-title h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    margin: 0 5px;
    color: white;
}

.badge-primary {
    background-color: #1e88e5;
}

.badge-success {
    background-color: #43a047;
}

/* 筛选框样式 */
.filter-box {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-box select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 150px;
}

.filter-box button {
    padding: 8px 20px;
    background-color: #1e88e5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-box button:hover {
    background-color: #1565c0;
}

/* 加载动画样式 */
.loader {
    display: none;
    text-align: center;
    padding: 40px;
}

.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1e88e5;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 分析结果容器样式 */
.analysis-results {
    display: none;
}

/* 卡片样式 */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 20px;
}

.card-title {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f5f5f5;
}

/* 图表容器样式 */
.chart-container {
    height: 400px;
    margin-bottom: 20px;
}

/* 摘要样式 */
.summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.summary p {
    margin: 5px 0;
    color: #555;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background-color: #f8f9fa;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .main-container {
        padding: 10px;
    }
    
    .filter-box {
        padding: 15px;
    }
    
    .filter-box select {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .filter-box button {
        width: 100%;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .card {
        padding: 15px;
    }
} 